package top.zackyoung.bbs.dao;

import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import top.zackyoung.bbs.entity.ArticleList;


public interface ArticleRepository extends ElasticsearchRepository<ArticleList,Long> {

    ArticleList findArticleListById(Integer articleId);

    void deleteById(Integer articleId);

}
